.detail-container {

  .navbg {
    background-color: transparent;
    backdrop-filter: blur(8px); //毛玻璃属性
    // background-color: #fff;
    // border-bottom: 1px solid #f0f0f0;
  }

  .custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;

    .navbar-con {
      display: flex;
      align-items: center;
      position: absolute;
      left: 0;
      width: 100%;
      box-sizing: border-box;

      .btn-item {
        display: flex;
        align-items: center;
        position: relative;
        padding: 6rpx;
        box-sizing: border-box;
        font-size: 40rpx;
        z-index: 5;
      }

      .back {
        background-color: rgba(255, 255, 255, .6);
        border-radius: 50%;
      }

      .title-center {
        position: absolute;
        left: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 17px;
      }


    }
  }

  .goods-detail {

    swiper {
      height: 100vw;

      swiper-item {
        overflow: hidden;

        image {
          width: 100%;
          height: 100%;
        }
      }

      .wx-swiper-dots {
        margin-bottom: 30rpx;
      }
    }

    .info-con {
      padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
      position: absolute;
      left: 0;
      top: 95vw;
      // padding: 0 30rpx 20rpx 20rpx;
      width: 100%;
      // border-radius: 45rpx;
      overflow: hidden;

      .info {

        .price {
          padding: 25rpx 30rpx 15rpx;
          // height: 140rpx;
          color: #f20c00;
          font-size: 40rpx;
          background-color: #fff;
          border-radius: 45rpx;
        }

        .info-title {
          padding: 0 25rpx;
          font-size: 36rpx;
          // font-weight: 600;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        .info-detail {
          margin-top: 15rpx;
          padding: 0 25rpx;
          font-size: 30rpx;
          color: #333;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
        }
      }

      .info2 {
        padding: 0 25rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .sales {
          color: #999;
          font-size: 26rpx;
        }

        .share {
          padding: 0;
          margin: 10rpx 0 0 0;
          width: 60rpx;
          height: 60rpx;
          color: #1296DB;
          font-size: 40rpx;
          line-height: 60rpx;
          background-color: transparent;

          &::after {
            border: none;
          }
        }
      }

      .info3 {
        margin: 20rpx 20rpx 0;
        padding: 0 15rpx;
        // height: 100rpx;
        background-color: #F9F9F9;
        border-radius: 20rpx;
        box-sizing: border-box;

        .info3-item {
          padding: 20rpx 0;
          font-size: 30rpx;
          border-bottom: 1px solid #f0f0f0;

          &:last-child {
            border-bottom: 0;
          }
        }
      }

      .evaluate {
        .title {
          padding: 20rpx 0;
          display: flex;
          align-items: center;
          justify-content: space-between;
          border-bottom: 1px solid #f0f0f0;

          .left {
            font-size: 30rpx;
          }
        }

        .evaluate-list {
          .item {
            padding: 20rpx 0;

            .item-header {
              display: flex;

              .img {
                margin-right: 30rpx;
                width: 80rpx;
                height: 80rpx;
                border-radius: 50%;
                overflow: hidden;

                image {
                  width: 100%;
                  height: 100%;
                }
              }

              .buyuser {
                .username {
                  font-size: 28rpx;
                  font-weight: 600;
                }

                .buygoods {
                  font-size: 26rpx;
                  color: #979797;
                }
              }
            }

            .item-con {
              padding: 20rpx 0 0;
              font-size: 28rpx;
            }
          }
        }
      }

      .goods-details {
        .details-tit {
          padding: 20rpx;
          font-size: 30rpx;
        }

        .details-con {
          border-radius: 20rpx;
          overflow: hidden;

          image {
            width: 100%;
            vertical-align: top;
          }
        }
      }
    }
  }

  .add-cart {

    &::after {
      content: '';
      display: inline-block;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 6rpx;
      height: 50rpx;
      background-color: #fff;

    }
  }

  .check-goods-spec {
    position: relative;
    padding: 20rpx 20rpx 200rpx;
    min-height: 50vh;
    max-height: 60vh;
    box-sizing: border-box;
    overflow: auto;

    .close-btn {
      position: absolute;
      top: 10rpx;
      right: 20rpx;
      font-size: 40rpx;
    }

    .address-con {
      padding-top: 40rpx;

      .address-list {
        padding: 20rpx 0;
        border-bottom: 1px solid #f1f1f1;

        .person {
          display: flex;

          .uname {
            margin-right: 20rpx;
          }
        }
      }

      .none-mask-address {
        margin-top: 100rpx;
        text-align: center;
      }

      .add-mask-address {
        text-align: center;
        color: #1296DB;
      }
    }

    .spec-info {
      display: flex;

      .img {
        margin-right: 30rpx;
        width: 240rpx;
        height: 240rpx;

        image {
          width: 100%;
          height: 100%;
          border-radius: 20rpx;
        }
      }

      .info {
        .price {
          margin-top: 10rpx;
          display: flex;
          color: #f20c00;
          font-size: 38rpx;
          font-weight: 600;

          .rmb {
            margin: 10rpx 5rpx 0 0;
            font-size: 26rpx;
          }
        }

        .del {
          font-size: 34rpx;
          color: #666;
          text-decoration: line-through;

          .rmb {
            margin: 8rpx 5rpx 0 0;
            font-size: 26rpx;
          }
        }

        .inventory {
          margin-top: 10rpx;
          font-size: 28rpx;
          color: #666;
        }
      }
    }

    .check-type {
      margin-top: 20rpx;

      .group {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding: 15rpx 0;
        border-bottom: 1px solid #f5f5f5;

        .list {
          padding: 5rpx 15rpx;
          margin-right: 20rpx;
          height: 50rpx;
          line-height: 50rpx;
          font-size: 30rpx;
          background-color: #f5f5f5;
          border-radius: 10rpx;
        }

        .active {
          color: #fff;
          background-color: #76CAFF;
        }
      }
    }

    .stepper {
      padding: 20rpx 20rpx 0 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .mask-btn {
      position: fixed;
      left: 50%;
      bottom: calc(10rpx + env(safe-area-inset-bottom));
      transform: translateX(-50%);
      width: 680rpx;
      z-index: 99;

      button {
        height: 80rpx;
        line-height: 80rpx;
        border-radius: 80rpx;
        color: #fff;
        font-size: 36rpx;
        background: linear-gradient(to right, #89f7fe, #76CAFF, #66a6ff);

        &::after {
          border: 0;
        }
      }
    }
  }
}